package com.syaccp.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.syaccp.model.SysDept;
import com.syaccp.model.SysUser;
import com.syaccp.request.SysDeptRequest;
import com.syaccp.request.SysUserRequest;
import com.syaccp.utils.Result;

import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author lixin
 * @since 2023-07-02
 */
public interface DeptService extends IService<SysDept> {

    public PageInfo<SysDeptRequest> pageGetDept(int index);

    public List<SysDeptRequest> getDept();

    public Result selectDeptListByUser(SysUser sysUser);

    public List<SysDeptRequest> getAllDepartments();

    public int updateDept(SysDeptRequest sysDeptRequest);


    List<SysDept> queryCompanyInfo();

}
